/// Try this in your AOT Jobs
///
///
///
static void timeConversion(Args _arg)
{
    int s;
    str t, convertedTime;
    ;

    // t is a String and we assigned Some Time Value as 11 hr 50 mins and Zero seconds
    t = "11:50:00";

 
//Apply this method in any Button Override Method.
// This method is used to Import the Excel Data to AX Table
//
//

// Excel File Contains 3 Columns which is EquipmentId, Cost, EffectiveDate
// Same way here we have created Code For the particular Three field....

public void ImportData()
{
    SysExcelApplication             application;
    SysExcelWorkbooks               workbooks;
    SysExcelWorkbook                workbook;
    SysExcelWorksheets              worksheets;
    SysExcelWorksheet               worksheet;
    SysExcelCells                   cells;
    COMVariantType                  type;
    System.DateTime                 ShlefDate;
    FilenameOpen                    filename;
    dialogField                     dialogFilename;
    Dialog                          dialog;